﻿Ext.define('app.prm.detail.ProgressList', {
    extend: 'Ext.grid.Panel',
    border: false,
    viewConfig: {
        enableTextSelection: true //可以复制单元格文字
    },
    projectId: 0,
    initComponent: function () {
        var me = this;
        me.store = Ext.create("app.ux.PrmStore", { url: '/api/services/app/project/GetProgressAll', filter: { projectId: me.projectId } });
        me.callParent();
    },
    forceFit: true,
    columns: [
        { header: "项目进度", dataIndex: 'progressRate' },
        { header: "进展备注", dataIndex: 'note' },
        { header: "任务", dataIndex: 'task' },
        { header: "项目状态", dataIndex: 'status' },
        //{ header: "客户编号", dataIndex: 'customeCode' },
        { header: "实际开始时间", dataIndex: 'actualStartTime' },
        { header: "预期结束时间", dataIndex: 'actualEndTime' }
    ]
})